package com.youmingxing.bean;

import org.json.JSONObject;

/**
 * @author evilyin(ChenZhixi)
 * @since 15/10/24
 */
public class AuditionResultFromId {
    public int id;
    public int movie_id;
    public int category_id;
    public String movie;
    public String category;
    public String category_img;
    public String apply_time;
    public int votes;
    public int rank;
    public int status; //海选状态: -1未开始;0进行中;1结束结果确认中;2结束进入海选;3结束未进入海选
    public String motto;
    public String motto_tip;
    public int u_id;
    public String u_name;
    public String u_headimg;
    public int real_auth_status;  // 0 未认证 1认证用户

    public AuditionResultFromId(JSONObject data) {
        id = data.optInt("id");
        movie_id = data.optInt("movie_id");
        category_id = data.optInt("category_id");
        movie = data.optString("movie");
        category = data.optString("category");
        category_img = data.optString("category_img");
        apply_time = data.optString("apply_time");
        votes = data.optInt("votes");
        rank = data.optInt("rank");
        status = data.optInt("status");
        motto = data.optString("motto");
        motto_tip = data.optString("motto_tip", "");
        u_id = data.optInt("u_id");
        real_auth_status = data.optInt("real_auth_status");
        u_name = data.optString("u_name");
        u_headimg = data.optString("u_headimg");

    }
}
